@echo off 

rem Setup all the environment variables for version five engine. 

set ANT_HOME=D:\Dev\ant\v154
set TOMCAT_HOME=D:\Dev\tomcat\v5_cpa
set TOMCAT_RUNTIME=%TOMCAT_HOME%
set CATALINA_HOME=D:\Dev\tomcat\v5_cpa
set JAVA_HOME=D:\Dev\jdk\jdk1.6
set LIB_HOME=D:\Dev\lib
set ORA_ROOT=C:\oracle

rem -------------------- (M2U AmexEBPP) --------------------

set CPA_HOME=D:\Workspace\Maybank\mbb-map
set CPA_APP=%CPA_HOME%\application
set DEVL_HOME=%CPA_HOME%\devl
rem Java home 
set JAVA_HOME=D:\Dev\jdk\jdk1.6

rem Oracle home
set ORACLE_HOME=D:\oracle
set ORACLE_BASE=D:\oracle
set ORACLE_SID=bgcsp

rem System path, put the version 5 engine bin path at the first 
set PATH=C:\Perl\bin;%PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin
set PERL5LIB=C:\Perl\lib

rem set CP_CFI_JDBC=C:\DB2\IBM\SQLLIB\java\db2java.zip
set CP_CFI_JDBC=D:\Dev\lib\ojdbc6.jar
set CLASSPATH=%CP_CFI_ALL_CMD%;

set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\ojdbc6.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-beanutils.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-collections.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-dbcp-1_1.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-digester.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-fileupload.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-lang-2_0.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-logging.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-validator.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\jtds.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\servlet-api.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\struts.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\jsp-api.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\jce1_2_2.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\m2u.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\com.ibm.mq.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\com.ibm.mqjms.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\connector.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\commons-fileupload-1.3.1.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\lib\json-simple-1.1.1.jar
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\build\classes
set CLASSPATH=%CLASSPATH%;%DEVL_HOME%\config

set FORMDIR=%DEVL_HOME%\config\actionforms
set DAODIR=%DEVL_HOME%\config\or_mapping

rem -------------------- (Path) --------------------

set PATH=%PATH%;.\;%JAVA_HOME%\bin;%ANT_HOME%\bin;%TOMCAT_HOME%\bin;%CATALINA_HOME%\bin

rem For Eclipse Debugging
set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000

set CP=%CLASSPATH%

PAUSE
